from django.core.files.storage import Storage
from django.conf import settings

class MyFileStorage(Storage):
    def __init__(self, base_url=None):
        if not  base_url:
            self.base_url = settings.BASE_URL


    def open(self, name, mode='rb'):
        pass


    def save(self, name, content, max_length=None):
        pass


    def exists(self, name):
        return False


    def url(self, name):
        return self.base_url + name